package maldade.service;

import maldade.persistence.service.PersistenceService;
import maldade.persistence.service.PersistenceServiceFactory;

import org.apache.log4j.Logger;

/**
 * Abstract service class, all service classes will derive this.
 * 
 * @author rnojiri
 */
public abstract class AbstractService
{
	protected Logger log = Logger.getLogger(AbstractService.class);
	
	protected PersistenceService persistenceService;
	
	/**
	 * Initialized common services.
	 */
	public AbstractService()
	{
		persistenceService = PersistenceServiceFactory.getPersistenceService();
	}
}
